package com.java2_22_1;

public class Teacher1 extends People {
    private String sector;

    public Teacher1() {

    }

    public Teacher1(String name, int age, String sector) {
        super(name, age);
        this.sector = sector;
    }

    public String getSector() {
        return sector;
    }

    public void setSector(String sector) {
        this.sector = sector;
    }

    public void publishFrom() {
        System.out.println("发布问题");
    }
}
